package com.zeng.jiudian.service;

import com.zeng.jiudian.bean.UserModel;

import java.util.List;

/**
 * @Author JJ_yo
 * @Date 2020/7/16-15:52
 */
public interface UserService
{
    public int addUser(UserModel userModel);

    public boolean findByUsername(String username);

    public int login(UserModel userModel);

    public boolean findByUsernameAndPassword(UserModel userModel);

    public List<UserModel> findAll(UserModel userModel);

    public int deleteById(int id);

    public UserModel findById(int id);

    public int edit(UserModel userModel);

    public int getCount(UserModel userModel);
}
